package com.szy.repo;

import com.mysema.query.dml.DeleteClause;
import com.mysema.query.dml.UpdateClause;
import com.mysema.query.jpa.JPQLQuery;
import com.mysema.query.jpa.impl.JPADeleteClause;
import com.mysema.query.jpa.impl.JPAUpdateClause;
import com.mysema.query.types.EntityPath;

/**
 * Created by As on 2015/8/27.
 */
public interface QueryDSLRepository {
    JPQLQuery from(EntityPath<?>... paths);
    UpdateClause<JPAUpdateClause> update(EntityPath<?> path);
    DeleteClause<JPADeleteClause> delete(EntityPath<?> path);
}
